<include file="application/walletadmin/view/public/left.html"/>
   
<div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">管理中心<b>></b><strong>广告管理</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
        <h3><a href="{:U('Advertising/addShow')}" class="actionBtn add">新增广告</a>广告管理</h3>
    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
    <tr align="center">
        <th>图片</th>
        <th>跳转地址</th>
        <th>标题</th>
        <th>排序</th>
		<th>内容</th>	
		<th>是否显示</th>
        <th>更新时间</th>
        <th>操作</th>
    </tr>
    <volist name="list" id="vo" empty="$empty">
    <tr align="center">
        <td>
            <notempty name="vo.pic">
                <img style=" width:200px; padding-left:120px;" src='{$vo.pic}' /><else/>暂无图片数据
            </notempty>
        </td>
        <td>{$vo.url}</td>
        <td>{$vo.title}</td>
        <td>{$vo.sort}</td>
        <td>{$vo.content}</td>
        <td>
        	<eq name="vo.status" value="1">
        	<span style="color:green"><b>显示</b></span>
        	<else/>
        	<span style="color:red"><b>不显示</b></span>
        	</eq>
        </td>
        <td>{$vo.add_time|date="Y-m-d",###}</td>
        <td>
            <a class="link-update" href="{:U('Advertising/addShow',array('advertising_id'=>$vo['advertising_id']))}">修改</a>
            <a class="link-del" href="{:U('Advertising/del',array('advertising_id'=>$vo['advertising_id']))}">删除</a>
        </td>
    </tr>
    </volist>
    </table>
</div>
</div>
<div class="clear"></div>
<include file="application/walletadmin/view/public/foot.html"/><!-- dcFooter 结束 -->
<div class="clear"></div> </div>
</body>
</html>
